nested VMX: fix I/O port exit emulation
authorJan Beulich <jbeulich@suse.com>
Wed, 4 Dec 2013 12:23:27 +0000 (13:23 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 4 Dec 2013 12:23:27 +0000 (13:23 +0100)
commite1978480c76e36bc22ec12657121ac91d08aca6b
treece2cb08d1de764b90e31926504f6fbd77f10c63d
parent4b07b3cbf29f66da6090d52e75b5fdae592c6441
nested VMX: fix I/O port exit emulation

For multi-byte operations all affected ports' bits in the bitmap need
to be checked, not just the first port's one.

Reported-by: Matthew Daley <mattd@bugfuzz.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
xen/arch/x86/hvm/vmx/vvmx.c